use ClientPlatform

db.CriteriaLevel3.update({Name: 'SPL Code'}, { $set: { CriteriaLevel2Id: new BinData(3, "AAAAAAAAAAAAAAAAAAAAAA==")}});
var criteriaLevel2Id = db.CriteriaLevel3.findOne({Name: 'Key ESG Issue 1'}).CriteriaLevel2Id;
db.TemplateCriteria.update({Name: 'SPL Code'}, { $set: { CriteriaLevel2Id: criteriaLevel2Id}})